import 'package:flutter/cupertino.dart';

/// 配置列表网络请求规范
mixin AbstractListNetWork {
  @protected
  dynamic configNetworkParams();

  /// 网络请求
  @protected
  void getNetworkData(dynamic params);

  /// 下拉刷新
  void refreshData();

  /// 上拉刷新
  void loadMore();
}

/// 配置普通网络请求规范
mixin  AbstractNetWork {
  @protected
  dynamic configNetworkParams();

  /// 网络请求
  @protected
  void getNetworkData(dynamic params);
}
